package com.kll.carolinehmibiz.presentation.listener

import com.kll.carolinehmibiz.net.bean.GetAddressResponse

interface MyHarvestAddressProtocol {

    interface IView {
        // 获取用户地址列表成功
        fun getUserAddressListSuccessed(data: ArrayList<GetAddressResponse>)
        // 获取用户地址列表失败
        fun getUserAddressListFailed(code: Int, message: String)
    }

    interface IPresenter {
        // 获取用户地址列表
        fun getUserAddressList()
    }

}